function getName() {
    return this.name;
}

const obj1 = {
    name: "obj1"
}

const obj2 = {
    name: "obj2"
}

var getNameBindOnce = getName.bind(obj1);
var getNameBindTwice = getNameBindOnce.bind(obj2);

console.log("getName", getName()) // undefined
console.log("getNameBindOnce", getNameBindOnce()) // obj1
console.log("getNameBindTwice", getNameBindTwice()) // obj1
